OTP\Handler\Forms\RegistrationMagicForm S

Total Complexity 50
Dependencies 7
Dependents 0
Total lines 344
Lines of code 166
Logical lines of code 93
Comment lines 137
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
handle_form_options()
S
57 5 15
checkIfPromptForOTP()
S
59 5 13
miniorange_crf_user()
S
55 4 21
parseFormDetails()
S
58 4 15
handle_form()
S
58 4 15
handle_crf_form_submit()
S
68 4 6
handle_failed_verification()
S
59 3 15
getFieldID()
S
69 3 5
get_phone_number_selector()
S
70 3 6
isPhoneNumberAlreadyInUse()
S
64 2 9
getFormPostSubmittedValue()
S
78 2 3
checkIfValidated()
S
73 2 5
isEmailVerificationEnabled()
S
75 2 4
isPhoneVerificationEnabled()
S
75 2 4
__construct()
S
59 1 14
getCRFPhoneFromRequest()
S
71 1 5
getCRFEmailFromRequest()
S
71 1 5
handle_post_verification()
S
79 1 3
unset_otp_session_variables()
S
80 1 3